package com.guan.friend.service.user;

import com.guan.common.core.domain.R;
import com.guan.common.core.domain.VO.LoginUserVO;
import com.guan.friend.domain.user.dto.UserDTO;
import com.guan.friend.domain.user.dto.UserDetailUpdateDTO;
import com.guan.friend.domain.user.vo.UserVO;

import java.util.List;

public interface IUserService {
    Boolean sendCode(UserDTO userDTO);

    String codeLogin(String phone, String code);

    boolean logout(String token);

    LoginUserVO info(String token);

    UserVO detail();

    int edit(UserDetailUpdateDTO userDetailDTO);

    int updateHeadImage(UserDetailUpdateDTO userDetailUpdateDTO);
}
